3.9 Reverse proxies and load balancing
If you have a reverse proxy in front of the MyID web services servers, for example for load balancing, you may have to carry out additional configuration.
If, in MyID Desktop, you can access some workflows (for example, Collect Card or Erase Card) but not others (for example, Edit Person) this can be caused by the reverse proxy. By default, the MyID web services use the requesting path to generate various other paths that are passed back to the client; as the reverse proxy has changed this path, the generated paths returned to the client are not correct.
To address this, you can provide fixed URLs for the paths in the web service configuration file:
-
Back up the myid.config configuration file.
On the web services server, this is located in the following folder by default:
C:\Program Files\Intercede\MyID\SSP\MyIDProcessDriver\
-
Open the myid.config file in a text editor.
-
Locate the following lines:
Copy<add key="MyIDSessionUrl" value="{0}/myid/default.asp?dest=/timeout.asp?action=ping&lang=[lang]"/>
<add key="AuthenticationUrl" value="{0}/myid/default.asp?dest=/hyperoptionInFrame.asp?passthroughauthentication=true&lang=[lang]"/>
<add key="WebProcessUrl" value="{0}/myid/default.asp?dest=/hyperoptionInFrame.asp?option={2}&hideMenuBar=true&backLink=desktopDone.asp&lang=[lang]"/>
<add key="AbortUrl" value="{0}/myid/default.asp?dest=/CompleteTask.asp?Status=Abort&lang=[lang]"/>
<add key="EndWorkflowUrl" value="{0}/myid/default.asp?dest=/blank.html&lang=[lang]"/> -
Replace the {0} substitution token in each of the above lines with the protocol and server address; for example:
https://myserver.domain.com
The edited lines will now be similar to the following:
Copy<add key="MyIDSessionUrl" value="https://myserver.domain.com/myid/default.asp?dest=/timeout.asp?action=ping&lang=[lang]"/>
<add key="AuthenticationUrl" value="https://myserver.domain.com/myid/default.asp?dest=/hyperoptionInFrame.asp?passthroughauthentication=true&lang=[lang]"/>
<add key="WebProcessUrl" value="https://myserver.domain.com/myid/default.asp?dest=/hyperoptionInFrame.asp?option={2}&hideMenuBar=true&backLink=desktopDone.asp&lang=[lang]"/>
<add key="AbortUrl" value="https://myserver.domain.com/myid/default.asp?dest=/CompleteTask.asp?Status=Abort&lang=[lang]"/>
<add key="EndWorkflowUrl" value="https://myserver.domain.com/myid/default.asp?dest=/blank.html&lang=[lang]"/>Note: Do not do a global search and replace in the configuration file. The {0} substitution token is used in other configuration options for other purposes.
-
Save the myid.config file.
-
Recycle the web service app pool:
- On the MyID web server, in Internet Information Services (IIS) Manager, select Application Pools.
- Right-click the MyIDWebService application pool, then from the pop-up menu click Recycle.
This ensures that the web service has picked up the changes to the configuration file.